﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="memorial.Aspx.cs" Inherits="Users_memorial" %>
<%@ Register TagPrefix="skm" Namespace="ActionlessForm" Assembly="ActionlessForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%=this.UI_Head(Base_CurrPath, "", "")%>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
</head>
<body>
       <%=this.UI_TopControl()%>
       
        <div class="topbanner bodyList">
        <div class="body_995">
            <div class="Member_left">
                <%=this.UI_Users_loginOK()%>
                <%=this.UI_memorialMangerNav(id)%>
            </div>
            <div class="Member_Right">
                <skm:Form id="memorial_Form" method="post" runat="server">

                <div class="Member_right_dht">
                    <img src="../Images/class_jn.jpg" width="745" /></div>
                <div class="Member_right_CntLIst">
           

  <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr>
      <td height="25" align="left" class="title">&nbsp;<strong>以下是当前馆的信息</strong>:
       </td>
    </tr>
    <tr align="center" class="tdbg" >
      <td height="40">

	  <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolordark="#FFFFFF">
            <tr><td width="10%" align="right" bgcolor="#E7E7E7">&nbsp;馆名:</td>
              <td width="36%" align="left">&nbsp;<%=MemorialModel.Names %><span style="color:#cccccc">(<%=MemorialModel.NumId %>)</span></td>
              <td width="13%" align="right" bgcolor="#E7E7E7">馆类型：</td>
              <td width="41%" align="left">&nbsp;<%=memorialType(MemorialModel.Memorial_Type) %></td>
            </tr>
            <tr>
              <td align="right" bgcolor="#E7E7E7">&nbsp;创建时间:</td>
              <td align="left">&nbsp;<%=MemorialModel.Addtime.ToShortDateString()%></td>
              <td align="right" bgcolor="#E7E7E7">馆访问地址：</td>
              <td align="left"  class="Black_A" >&nbsp;<a  target="_blank" class="Black_A" href="<%=Url_DomainChange(MemorialModel.NumId, AspNetCs.Enumerations.Channel_Enum.Channel_Type.memorial.ToString())%>"><%=Url_DomainChange(MemorialModel.NumId, AspNetCs.Enumerations.Channel_Enum.Channel_Type.memorial.ToString())%></a></td>
            </tr>
          <tr style="padding:2px;">
            <td colspan="4" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="15%">背景音乐:                    </td>
                  <td width="86%"><span id="spanSet" style='<%=notSet %>;color:red;' >未设置</span><embed style="<%=play %>" id="enMusicPath" src='<%=musicPath %>' width='170' height='28' AUTOSTART='false'></embed><asp:DropDownList ID="ddlMusic" runat="server" />&nbsp;<asp:Button Text="设置"  OnClick="btnMusic_Click"  CssClass="go-wenbenkuang"  ID="btnMusic" runat="server" />
				</td>
                </tr>
              </table></td>
          </tr>
          <tr style="padding:2px;">
            <td colspan="4" align="left">密码设置:<span style="color:red"><%=MemorialModel.IsEncrypt==0?"未设置":"已设置" %></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                <asp:TextBox ID="Txt_Pwd" runat="server" TextMode="Password"  
                    CssClass="go-wenbenkuang" Height="22" ></asp:TextBox>
                    <span onclick="if (!ValidatorOnSubmit()){return false;}">
                <asp:Button ID="Button1" runat="server" Text=" 设 置"  CssClass="go-wenbenkuang" 
                    onclick="Button1_Click" ValidationGroup="1"  /></span>
&nbsp;
                <asp:Button ID="Button2" runat="server" Text="取消密码" CssClass="go-wenbenkuang" 
                    CausesValidation="False" onclick="Button2_Click"  />
                <asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入密码,长度为小于12位" 
                    ControlToValidate="Txt_Pwd" Display="Dynamic" ValidationGroup="1"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator
                        ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="密码设置输入有误,长度为小于12位" ControlToValidate="Txt_Pwd" Display="Dynamic" 
                    ValidationExpression=".{1,12}" ValidationGroup="1"></asp:RegularExpressionValidator>
              </td>
          </tr>
     </table></td>
    </tr>
  </table>
           
                    
                </div>
               </skm:Form>
            </div>
        </div>
        <br />
    </div>
       
    <%=UI_boot() %>
</body>
</html>
